package com.wkck.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wkck.domain.DeliveredLibraryHistory;
import com.wkck.dto.AuditParamsDto;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @Author: CK
 * @Date: 2024/03/16/0:55
 * @Description:
 */
@Repository
public interface DeliveredLibraryHistoryMapper extends BaseMapper<DeliveredLibraryHistory> {

    void insertDeliverHistory(DeliveredLibraryHistory history);

    @Select("select audit_status from delivered_constant_status where id = #{id}")
    String getAudit(Integer id);
}
